<!doctype html>



  


<html class="theme-next muse use-motion">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  
    
      
    

    
  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Microsoft YaHei:300,300italic,400,400italic,700,700italic|consolas:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.0.2" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="HTML," />








  <link rel="shortcut icon" type="image/x-icon" href="http://ofy7k3v4s.bkt.clouddn.com/mylogo.png?v=5.0.2" />






<meta name="description" content="HTML&amp;#x57FA;&amp;#x7840;
Hyper text markup language  &amp;#x8D85;&amp;#x6587;&amp;#x672C;&amp;#x6807;&amp;#x8BB0;&amp;#x8BED;&amp;#x8A00;

&amp;#x8D85;&amp;#x6587;&amp;#x672C;&amp;#xFF1A;&amp;#x7F51;&amp;#x9875;&amp;#x4E2D;&amp;#x53EF;&amp;#x4EE5;&amp;#x5305;&amp;#x542B;&amp;#x56">
<meta property="og:type" content="article">
<meta property="og:title" content="初识HTML">
<meta property="og:url" content="https://hongqinma.github.io/2013/09/02/初识HTML/index.html">
<meta property="og:site_name" content="HongqinMa' Blog">
<meta property="og:description" content="HTML&amp;#x57FA;&amp;#x7840;
Hyper text markup language  &amp;#x8D85;&amp;#x6587;&amp;#x672C;&amp;#x6807;&amp;#x8BB0;&amp;#x8BED;&amp;#x8A00;

&amp;#x8D85;&amp;#x6587;&amp;#x672C;&amp;#xFF1A;&amp;#x7F51;&amp;#x9875;&amp;#x4E2D;&amp;#x53EF;&amp;#x4EE5;&amp;#x5305;&amp;#x542B;&amp;#x56">
<meta property="og:updated_time" content="2016-11-02T13:02:12.157Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="初识HTML">
<meta name="twitter:description" content="HTML&amp;#x57FA;&amp;#x7840;
Hyper text markup language  &amp;#x8D85;&amp;#x6587;&amp;#x672C;&amp;#x6807;&amp;#x8BB0;&amp;#x8BED;&amp;#x8A00;

&amp;#x8D85;&amp;#x6587;&amp;#x672C;&amp;#xFF1A;&amp;#x7F51;&amp;#x9875;&amp;#x4E2D;&amp;#x53EF;&amp;#x4EE5;&amp;#x5305;&amp;#x542B;&amp;#x56">



<script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Muse',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '6347850919329138000',
      author: 'Hiraku'
    }
  };
</script>




  <link rel="canonical" href="https://hongqinma.github.io/2013/09/02/初识HTML/"/>


  <title> 初识HTML | HongqinMa' Blog </title>
</head>

<body itemscope itemtype="//schema.org/WebPage" lang="en">

  



  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?10010323";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>








  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="//schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta custom-logo">
  
    <div class="site-meta-headline">
      <a>
        <img class="custom-logo-image" src="http://ofy7k3v4s.bkt.clouddn.com/photo.jpg"
             alt="HongqinMa' Blog"/>
      </a>
    </div>
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">HongqinMa' Blog</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">Spell at all costs， to rush you in the future。</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            Categories
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            About
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            Archives
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            Tags
          </a>
        </li>
      

      
    </ul>
  

  
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                初识HTML
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2013-09-02T20:47:47+08:00" content="2013-09-02">
              2013-09-02
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2013/09/02/初识HTML/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2013/09/02/初识HTML/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          

          
              &nbsp; | &nbsp;
              <span class="page-pv"><i class="fa fa-file-o"></i>
              <span class="busuanzi-value" id="busuanzi_value_page_pv" ></span>
              </span>
          

          
            <span id="busuanzi_container_page_pv">  <span id="busuanzi_value_page_pv"></span> Views</span>
          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>HTML&#x57FA;&#x7840;</p>
<p>Hyper text markup language  &#x8D85;&#x6587;&#x672C;&#x6807;&#x8BB0;&#x8BED;&#x8A00;</p>
<ul>
<li>&#x8D85;&#x6587;&#x672C;&#xFF1A;&#x7F51;&#x9875;&#x4E2D;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x56FE;&#x7247;&#x3001;&#x6587;&#x5B57;&#x3001;&#x89C6;&#x9891;&#x3001;&#x97F3;&#x9891;&#x3001;&#x6587;&#x672C;&#x6846;&#x7B49;&#x5143;&#x7D20;; </li>
<li>&#x6807;&#x8BB0;&#xFF08;&#x6807;&#x7B7E;&#xFF09;&#xFF1A;&#x5728;&#x7F51;&#x9875;&#x4E2D;&#x7ED9;&#x7F51;&#x9875;&#x5143;&#x7D20;&#x505A;&#x6807;&#x8BB0;&#xFF08;&#x53F3;&#x952E;&#xFF0C;&#x67E5;&#x770B;&#x7F51;&#x9875;&#x6E90;&#x4EE3;&#x7801;&#xFF09;</li>
<li>&#x8D85;&#x94FE;&#x63A5;&#xFF1A; &#x5B9E;&#x73B0;&#x7F51;&#x9875;&#x4E4B;&#x95F4;&#x7684;&#x8DF3;&#x8F6C;&#xFF0C;</li>
</ul>
<h2 id="Sublime&#x5E38;&#x7528;&#x5FEB;&#x6377;&#x952E;"><a href="#Sublime&#x5E38;&#x7528;&#x5FEB;&#x6377;&#x952E;" class="headerlink" title="Sublime&#x5E38;&#x7528;&#x5FEB;&#x6377;&#x952E;"></a>Sublime&#x5E38;&#x7528;&#x5FEB;&#x6377;&#x952E;</h2><ul>
<li><code>Windows+D</code> &#x8FD4;&#x56DE;&#x684C;&#x9762;</li>
<li><code>Windows+R</code> &#x8FD0;&#x884C;dos  </li>
<li><code>Windows+E</code> &#x6253;&#x5F00;&#x6211;&#x7684;&#x7535;&#x8111; </li>
<li><code>Alt+Tab</code> &#x5207;&#x6362;&#x8F6F;&#x4EF6;   </li>
<li><code>Ctrl+Tab</code> &#x8F6F;&#x4EF6;&#x5185;&#x90E8;&#x6587;&#x6863;&#x548C;&#x6587;&#x6863;&#x4E4B;&#x95F4;&#x4E4B;&#x95F4;&#x5207;&#x6362;</li>
<li><code>F2</code> &#x91CD;&#x547D;&#x540D;</li>
</ul>
<h2 id="Web&#x6807;&#x51C6;&#xFF1A;"><a href="#Web&#x6807;&#x51C6;&#xFF1A;" class="headerlink" title="Web&#x6807;&#x51C6;&#xFF1A;"></a>Web&#x6807;&#x51C6;&#xFF1A;</h2><ul>
<li>&#x7ED3;&#x6784;&#x6807;&#x51C6;&#xFF1A;<code>HTML</code> HyperText Mark Language &#x8D85;&#x6587;&#x672C;&#x6807;&#x8BB0;&#x8BED;&#x8A00;</li>
<li>&#x8868;&#x73B0;&#x6807;&#x51C6;&#xFF1A;<code>CSS</code> Casading Style Sheets &#x5C42;&#x6B21;&#x6837;&#x5F0F;&#x8868;</li>
<li>&#x884C;&#x4E3A;&#x6807;&#x51C6;&#xFF1A;<code>javaScript</code> <ul>
<li>ECMAScript javaScript&#x6807;&#x51C6;</li>
<li><code>DOM</code> Document Object Model &#x6587;&#x6863;&#x5BF9;&#x8C61;&#x6A21;&#x578B;</li>
<li><code>BOM</code> Browser Object Mode &#x6D4F;&#x89C8;&#x5668;&#x5BF9;&#x8C61;&#x6A21;&#x578B;</li>
</ul>
</li>
</ul>
<h2 id="&#x6D4F;&#x89C8;&#x5668;&#x7B80;&#x4ECB;"><a href="#&#x6D4F;&#x89C8;&#x5668;&#x7B80;&#x4ECB;" class="headerlink" title="&#x6D4F;&#x89C8;&#x5668;&#x7B80;&#x4ECB;"></a>&#x6D4F;&#x89C8;&#x5668;&#x7B80;&#x4ECB;</h2><p>&#x6D4F;&#x89C8;&#x5668;&#x6D89;&#x53CA;&#x6280;&#x672F;&#xFF1A;&#x6D4F;&#x89C8;&#x5668;&#x5185;&#x6838;&#xFF0C;&#x6E32;&#x67D3;&#x5F15;&#x64CE; <code>SEO</code>, Search Engine Optimization&#xFF08;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x4F18;&#x5316;&#xFF09;&#x3002;</p>
<p>&#x6D4F;&#x89C8;&#x5668;&#x5185;&#x6838;&#xFF1A;&#x5206;&#x4E3A;&#x4E24;&#x90E8;&#x5206;&#xFF1A;&#x6E32;&#x67D3;&#x5F15;&#x64CE;&#x548C;JS&#x5F15;&#x64CE;&#xFF0C;&#x51B3;&#x5B9A;&#x4E86;&#x6D4F;&#x89C8;&#x5668;&#x5982;&#x4F55;&#x663E;&#x793A;&#x7F51;&#x9875;&#x7684;&#x5185;&#x5BB9;&#x3001;&#x9875;&#x9762;&#x683C;&#x5F0F;&#x7B49;</p>
<ul>
<li>ie <code>trident</code></li>
<li>firefox <code>gecko</code></li>
<li>chrome/safari <code>webkit</code></li>
<li>chrome <code>blink</code></li>
<li>opera <code>persto</code></li>
</ul>
<h3 id="&#x6D4F;&#x89C8;&#x5668;&#x548C;&#x670D;&#x52A1;&#x5668;&#x7684;&#x90A3;&#x70B9;&#x4E8B;"><a href="#&#x6D4F;&#x89C8;&#x5668;&#x548C;&#x670D;&#x52A1;&#x5668;&#x7684;&#x90A3;&#x70B9;&#x4E8B;" class="headerlink" title="&#x6D4F;&#x89C8;&#x5668;&#x548C;&#x670D;&#x52A1;&#x5668;&#x7684;&#x90A3;&#x70B9;&#x4E8B;"></a>&#x6D4F;&#x89C8;&#x5668;&#x548C;&#x670D;&#x52A1;&#x5668;&#x7684;&#x90A3;&#x70B9;&#x4E8B;</h3><ul>
<li>http&#x534F;&#x8BAE;&#xFF1A;&#x8D85;&#x6587;&#x672C;&#x4F20;&#x8F93;&#x534F;&#x8BAE;&#x3001;&#x6D4F;&#x89C8;&#x5668;&#x548C;&#x670D;&#x52A1;&#x5668;&#x4E4B;&#x95F4;&#x7684;&#x5BF9;&#x8BDD;&#xFF08;&#x901A;&#x4FE1;&#x7684;&#x534F;&#x8BAE;&#xFF09;&#x3002;</li>
<li>https &#x52A0;&#x5BC6;&#x7684;&#x8FC7;&#x7A0B;</li>
<li>url&#x534F;&#x8BAE;&#xFF1A;&#x89C4;&#x5B9A;url&#x5730;&#x5740;&#x7684;&#x683C;&#x5F0F;</li>
<li>&#x534F;&#x8BAE;&#x89C4;&#x5B9A;&#x683C;&#x5F0F;&#xFF1A;scheme&#xFF1A;&#x5B9A;&#x4E49;&#x56E0;&#x7279;&#x7F51;&#x670D;&#x52A1;&#x7C7B;&#x578B;</li>
<li>host&#xFF1A;&#x5B9A;&#x4E49;&#x57DF;&#x4E3B;&#x673A; &#x7AEF;&#x53E3;&#xFF1A;&#x7F51;&#x9875;&#x9ED8;&#x8BA4;80&#x7AEF;&#x53E3;</li>
<li>path&#xFF1A;&#x8DEF;&#x5F84;</li>
<li>filename:&#x6587;&#x4EF6;&#x540D;</li>
</ul>
<h2 id="HTML-&#x7ED3;&#x6784;"><a href="#HTML-&#x7ED3;&#x6784;" class="headerlink" title="HTML &#x7ED3;&#x6784;"></a>HTML &#x7ED3;&#x6784;</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div></pre></td><td class="code"><pre><div class="line">&lt;! Doctype html&gt;   &lt;!--&#x58F0;&#x660E;&#x6587;&#x6863;&#x7C7B;&#x578B;--&gt;</div><div class="line">&lt;html&gt; &lt;!--&#x6839;&#x6807;&#x7B7E;--&gt;</div><div class="line">&lt;head&gt; &lt;!--&#x5934;&#x90E8;&#x6807;&#x7B7E;--&gt;</div><div class="line">&lt;title&gt;&#x6807;&#x9898;&lt;/title&gt; &lt;!--&#x7F51;&#x9875;&#x6807;&#x9898;&#x6807;&#x7B7E;--&gt;</div><div class="line">&lt;/head&gt;</div><div class="line">&lt;body&gt;</div><div class="line">  &lt;div&gt;&#x7F51;&#x9875;&#x4E3B;&#x4F53;&lt;/div&gt; &lt;!--&#x7F51;&#x9875;&#x4E3B;&#x4F53;&#x6807;&#x7B7E;--&gt;</div><div class="line">&lt;/body&gt;</div><div class="line">&lt;/html&gt;</div><div class="line">&#x89E3;&#x6790;&#xFF1A;</div><div class="line">&lt;! Doctype html&gt;    </div><div class="line">&lt;html&gt;             </div><div class="line">&lt;head&gt;          </div><div class="line">&lt;title&gt;&lt;/title&gt;    </div><div class="line">&lt;/head&gt;</div><div class="line">&lt;body&gt;&lt;/body&gt;   </div><div class="line">&lt;/html&gt;</div></pre></td></tr></table></figure>
<p>&#x6CE8;&#xFF1A;&#x6587;&#x6863;&#x7684;&#x540E;&#x7F00;&#x540D;&#x53EA;&#x80FD;&#x51B3;&#x5B9A;&#x6253;&#x5F00;&#x65B9;&#x5F0F;&#xFF0C;&#x4E0D;&#x80FD;&#x4FEE;&#x6539;&#x6587;&#x6863;&#x7C7B;&#x578B;</p>
<h3 id="HTML-&#x6807;&#x7B7E;&#x7684;&#x5206;&#x7C7B;"><a href="#HTML-&#x6807;&#x7B7E;&#x7684;&#x5206;&#x7C7B;" class="headerlink" title="HTML &#x6807;&#x7B7E;&#x7684;&#x5206;&#x7C7B;"></a>HTML &#x6807;&#x7B7E;&#x7684;&#x5206;&#x7C7B;</h3><ul>
<li>&#x5355;&#x6807;&#x7B7E;<ul>
<li><code>&lt;! Doctype html&gt;</code></li>
<li><code>&lt;img src=&quot;&quot; alt=&quot;&quot;/&gt;</code></li>
</ul>
</li>
<li>&#x53CC;&#x6807;&#x7B7E;<ul>
<li><code>&lt;html&gt;&lt;/html&gt;</code></li>
<li><code>&lt;head&gt;&lt;/head&gt;</code></li>
<li><code>&lt;title&gt;&lt;/title&gt;</code></li>
<li><code>&lt;body&gt;&lt;/body&gt;</code> </li>
<li>&#x2026;</li>
</ul>
</li>
</ul>
<h3 id="HTML-&#x5173;&#x7CFB;"><a href="#HTML-&#x5173;&#x7CFB;" class="headerlink" title="HTML &#x5173;&#x7CFB;"></a>HTML &#x5173;&#x7CFB;</h3><ul>
<li>&#x5E76;&#x5217;&#x5173;&#x7CFB;&#xFF08;&#x540C;&#x7EA7;&#xFF09;<ul>
<li><code>&lt;head&gt;&lt;/head&gt;</code> &#x548C; <code>&lt;body&gt;&lt;/body&gt;</code></li>
</ul>
</li>
<li>&#x5305;&#x542B;&#x5173;&#x7CFB;&#xFF08;&#x5D4C;&#x5957;&#xFF09;<ul>
<li><code>&lt;head&gt;&lt;title&gt;title&lt;/title&gt;&lt;/head&gt;</code> </li>
</ul>
</li>
</ul>
<h3 id="&#x5F00;&#x53D1;&#x5DE5;&#x5177;"><a href="#&#x5F00;&#x53D1;&#x5DE5;&#x5177;" class="headerlink" title="&#x5F00;&#x53D1;&#x5DE5;&#x5177;"></a>&#x5F00;&#x53D1;&#x5DE5;&#x5177;</h3><ul>
<li><code>DreamWeaver</code> &#xFF1A;&#x5F88;&#x8001;&#x7684;&#x4E00;&#x4E2A;&#x8F6F;&#x4EF6; &#x504F;&#x8BBE;&#x8BA1;&#x5E08;&#x4F7F;&#x7528; </li>
<li><code>sublime</code>: &#x8F7B;&#x91CF;&#x7EA7;&#x7684;&#x8F6F;&#x4EF6;&#xFF0C;&#x6709;&#x5F88;&#x591A;&#x597D;&#x7528;&#x7684;&#x63D2;&#x4EF6;</li>
<li><code>WebStorm</code>&#xFF1A;&#x91CD;&#x91CF;&#x7EA7;&#x8F6F;&#x4EF6;&#xFF0C;&#x529F;&#x80FD;&#x5F3A;&#x5927;&#xFF1B;</li>
</ul>
<h4 id="Sublime-&#x5E38;&#x7528;&#x7684;&#x5FEB;&#x6377;&#x952E;"><a href="#Sublime-&#x5E38;&#x7528;&#x7684;&#x5FEB;&#x6377;&#x952E;" class="headerlink" title="Sublime &#x5E38;&#x7528;&#x7684;&#x5FEB;&#x6377;&#x952E;"></a>Sublime &#x5E38;&#x7528;&#x7684;&#x5FEB;&#x6377;&#x952E;</h4><ul>
<li><code>html:xt+tab</code> html&#x7ED3;&#x6784;</li>
<li><code>html:5 + tab</code> html&#x7ED3;&#x6784;</li>
<li><code>Ctrl+Shft+D</code> &#x5FEB;&#x901F;&#x590D;&#x5236;</li>
<li><code>Ctrl+Shft+K</code> &#x5FEB;&#x901F;&#x5220;&#x9664;&#x4E00;&#x884C;</li>
<li><code>Ctrl+Shift+&#x2191;/&#x2193;</code> &#x5FEB;&#x901F;&#x4E0A;&#x4E0B;&#x79FB;&#x52A8;&#x4E00;&#x884C;</li>
<li><code>Tab</code> &#x8865;&#x5168;&#x6807;&#x7B7E; </li>
<li><code>Ctrl+&#x9F20;&#x6807;&#x5DE6;&#x952E;</code> &#x9009;&#x4E2D;&#x591A;&#x884C;</li>
<li><code>Ctrl+L</code> &#x9009;&#x4E2D;&#x4E00;&#x884C;</li>
<li><code>Ctrl+H</code> &#x66FF;&#x6362;&#x522B;&#x7684;&#x6807;&#x7B7E;</li>
<li><code>Alt+Shift+2</code> &#x67E5;&#x770B;&#x5E03;&#x5C40;</li>
<li><code>Alt+V</code>&#x663E;&#x793A;&#x9690;&#x85CF;&#x83DC;&#x5355;&#x680F;</li>
<li><code>ctrl+shift+p</code> + <code>move</code> &#x6307;&#x4EE4; &#x79FB;&#x52A8;&#x6587;&#x4EF6;</li>
</ul>
<h2 id="HTML&#x6807;&#x7B7E;"><a href="#HTML&#x6807;&#x7B7E;" class="headerlink" title="HTML&#x6807;&#x7B7E;"></a>HTML&#x6807;&#x7B7E;</h2><h3 id="&#x5355;&#x6807;&#x7B7E;"><a href="#&#x5355;&#x6807;&#x7B7E;" class="headerlink" title="&#x5355;&#x6807;&#x7B7E;"></a>&#x5355;&#x6807;&#x7B7E;</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">&lt;!--&#x6CE8;&#x91CA;: &#x5FEB;&#x6377;&#x952E;Ctrl+/--&gt; </div><div class="line">&lt;br/&gt;  &#x6362;&#x884C;</div><div class="line">&lt;hr/&gt;  &#x6C34;&#x5E73;&#x7EBF;</div></pre></td></tr></table></figure>
<h3 id="&#x53CC;&#x6807;&#x7B7E;"><a href="#&#x53CC;&#x6807;&#x7B7E;" class="headerlink" title="&#x53CC;&#x6807;&#x7B7E;"></a>&#x53CC;&#x6807;&#x7B7E;</h3><ul>
<li>&#x6BB5;&#x843D;&#x6807;&#x7B7E;&#xFF1A;<code>&lt;p&gt;&lt;/p&gt;</code></li>
<li>&#x6587;&#x672C;&#x6807;&#x7B7E;&#xFF1A;<code>&lt;font&gt;&lt;/font&gt;</code></li>
<li>&#x6807;&#x9898;&#x6807;&#x7B7E;&#xFF1A;</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">&lt;h1&gt;&lt;/h1&gt;</div><div class="line">&lt;!--h1&#x53EA;&#x80FD;&#x51FA;&#x73B0;&#x4E00;&#x6B21;&#xFF0C;&#x51FA;&#x73B0;&#x591A;&#x4E86;&#x4E0D;&#x5229;&#x4E8E;&#x641C;&#x7D22;&#x5F15;&#x64CE;--&gt;</div><div class="line">&lt;h2&gt;&lt;/h2&gt;</div><div class="line">&lt;h6&gt;&lt;/h6&gt;</div></pre></td></tr></table></figure>
<p>&#x6807;&#x9898;&#x7CFB;&#x5217;&#x53D6;&#x503C;&#x53EA;&#x80FD;&#x53D6;&#x5230;h6</p>
<ul>
<li>&#x6587;&#x672C;&#x683C;&#x5F0F;&#x5316;&#x6807;&#x7B7E;<ul>
<li>&#x52A0;&#x7C97; <code>&lt;strong&gt;&lt;/strong&gt;</code>, <code>&lt;b&gt;&lt;/b&gt;</code> &#x5E38;&#x7528;strong</li>
<li>&#x503E;&#x659C; <code>&lt;em&gt;&lt;/em&gt;</code>, <code>&lt;i&gt;&lt;/i&gt;</code> &#x5E38;&#x7528;em</li>
<li>&#x5220;&#x9664;&#x7EBF;&#x6807;&#x7B7E; <code>&lt;del&gt;&lt;/del&gt;</code>, <code>&lt;s&gt;&lt;/s&gt;</code> &#x5E38;&#x7528;del</li>
<li>&#x63D2;&#x5165;&#x6587;&#x672C;&#xFF1A; <code>&lt;ins&gt;&lt;/ins&gt;</code>,  <code>&lt;u&gt;&lt;/u&gt;</code> &#x5E38;&#x7528;ins</li>
<li>&#x4E0A;&#x4E0B;&#x6807;&#x6807;&#x7B7E;&#xFF1A;<code>&lt;sup&gt;&lt;/sup&gt;</code>,  <code>&lt;sub&gt;&lt;/sub&gt;</code></li>
</ul>
</li>
</ul>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x4F7F;&#x7528;strong em del ins &#x66F4;&#x6709;&#x610F;&#x4E49;</p>
<h3 id="&#x56FE;&#x7247;&#x6807;&#x7B7E;-lt-img-src-quot-Legolas-jpg-quot-alt-quot-&#x6211;&#x7684;&#x7537;&#x795E;-quot-title-quot-legolas-quot-width-quot-500-quot-gt"><a href="#&#x56FE;&#x7247;&#x6807;&#x7B7E;-lt-img-src-quot-Legolas-jpg-quot-alt-quot-&#x6211;&#x7684;&#x7537;&#x795E;-quot-title-quot-legolas-quot-width-quot-500-quot-gt" class="headerlink" title="&#x56FE;&#x7247;&#x6807;&#x7B7E; &lt;img src=&quot;Legolas.jpg&quot; alt=&quot;&#x6211;&#x7684;&#x7537;&#x795E;&quot; title=&quot;legolas&quot; width=&quot;500&quot; /&gt;"></a>&#x56FE;&#x7247;&#x6807;&#x7B7E; <code>&lt;img src=&quot;Legolas.jpg&quot; alt=&quot;&#x6211;&#x7684;&#x7537;&#x795E;&quot; title=&quot;legolas&quot; width=&quot;500&quot; /&gt;</code></h3><p>&#x4EC5;&#x6307;&#x5B9A;&#x5BBD;&#x6216;&#x9AD8;&#x65F6;&#xFF0C;&#x7B49;&#x6BD4;&#x4F8B;&#x7F29;&#x653E;&#x3002; </p>
<ul>
<li><code>src</code> &#x56FE;&#x7247;&#x6765;&#x6E90;&#xFF08;&#x8DEF;&#x5F84;&#xFF09;, <code>alt</code> &#x66FF;&#x6362;&#x6587;&#x672C;.</li>
<li><code>title</code> &#x63D0;&#x793A;&#x6587;&#x672C;&#xFF08;&#x9F20;&#x6807;&#x653E;&#x5230;&#x56FE;&#x7247;&#x4E0A;&#x663E;&#x793A;&#x7684;&#x6587;&#x5B57;;</li>
<li><code>width</code> &#x56FE;&#x7247;&#x663E;&#x793A;&#x7684;&#x5BBD;&#x5EA6;</li>
<li><code>height</code> &#x56FE;&#x7247;&#x663E;&#x793A;&#x7684;&#x9AD8;&#x5EA6;</li>
</ul>
<p>&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;&#x548C;&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84;&#xFF08;&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;&#x7684;&#x53EF;&#x79FB;&#x690D;&#x6027;&#x597D;&#xFF09;</p>
<ul>
<li>&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;&#xFF1A;<ul>
<li>&#x6587;&#x6863;&#xFF08;html/&#x56FE;&#x7247;&#xFF09;&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x76F4;&#x63A5;&#x5199;&#x56FE;&#x7247;&#xFF08;&#x6587;&#x6863;&#xFF09;&#x540D;&#x5B57; <code>&lt;img src=&quot;Legolas.jpg&quot; alt=&quot;legolas&quot; height=&quot;300&quot; /&gt;</code></li>
<li>&#x6587;&#x6863;&#x4E0D;&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5728;&#x4E0A;&#x7EA7;&#x6587;&#x4EF6;&#x4E2D; <code>&lt;img src=&quot;../1.jpg&quot; alt=&quot;legolas&quot; height=&quot;300&quot; /&gt;</code></li>
<li>&#x6587;&#x6863;&#x4E0D;&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5728;&#x4E0A;&#x4E24;&#x7EA7;&#x6587;&#x4EF6;&#x4E2D; <code>&lt;img src=&quot;../../Hydrangeas.jpg&quot; alt=&quot;&#x83CA;&#x82B1;&quot; height=&quot;300&quot; /&gt;</code></li>
<li>&#x6587;&#x6863;&#x4E0D;&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5728;&#x4E0B;&#x7EA7;&#x6587;&#x4EF6;&#x4E2D; <code>&lt;img src=&quot;pic/Koala.jpg&quot; alt=&quot;&#x8003;&#x62C9;&quot; height=&quot;300&quot; /&gt;</code></li>
<li>&#x6587;&#x6863;&#x4E0D;&#x5728;&#x540C;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5728;&#x4E0B;&#x4E24;&#x7EA7;&#x6587;&#x4EF6;&#x4E2D; <code>&lt;img src=&quot;pic/photo/Penguins.jpg&quot; alt=&quot;&#x4F01;&#x9E45;&quot; height=&quot;300&quot; /&gt;</code></li>
</ul>
</li>
<li>&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84;&#xFF1A;<ul>
<li>&#x672C;&#x5730;&#x7535;&#x8111;&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84; <code>&lt;img src=&quot;F:\pic\photo&quot; alt=&quot;&#x4F01;&#x9E45;&quot; /&gt;</code></li>
<li>&#x4E92;&#x8054;&#x7F51;&#x4E0A;&#x7684;&#x7EDD;&#x5BF9;&#x8DEF;&#x5F84;&#xFF1A; &#x7F51;&#x9875;&#x4E2D;&#x7684;&#x56FE;&#x7247;&#x6765;&#x81EA;&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x4F20;&#x8F93;&#x8FC7;&#x6765;&#x7684;&#x3002; </li>
</ul>
</li>
</ul>
<h3 id="&#x8D85;&#x94FE;&#x63A5;&#x6807;&#x7B7E;"><a href="#&#x8D85;&#x94FE;&#x63A5;&#x6807;&#x7B7E;" class="headerlink" title="&#x8D85;&#x94FE;&#x63A5;&#x6807;&#x7B7E;"></a>&#x8D85;&#x94FE;&#x63A5;&#x6807;&#x7B7E;</h3><p>&#x8D85;&#x94FE;&#x63A5;&#xFF1A;<code>&lt;a href=&quot;06_test&quot; target=&quot;_blank&quot; title=&quot;&#x6C14;&#x6E29;&#x9AD8;&quot;&gt;&#x6C14;&#x6E29;&#x6848;&#x4F8B;&lt;/a&gt;</code></p>
<ul>
<li><code>href</code> &#x53BB;&#x5F80;&#x7684;&#x8DEF;&#x5F84;&#xFF08;&#x8FDE;&#x63A5;&#x7684;&#x6587;&#x6863;&#xFF09;&#xFF0C;&#x5FC5;&#x5199;&#x5C5E;&#x6027;&#x3002;</li>
<li><code>target=&#x201D; _self&#x201D;</code> &#x5173;&#x95ED;&#x81EA;&#x8EAB;&#x4E32;&#x53E3;&#xFF0C;&#x6253;&#x5F00;&#x65B0;&#x7A97;&#x53E3;</li>
<li><code>target=&#x201D;_blank&#x201D;</code> &#x81EA;&#x8EAB;&#x7A97;&#x53E3;&#x4E0D;&#x5173;&#x95ED;&#xFF0C;&#x6253;&#x5F00;&#x65B0;&#x7A97;&#x53E3;</li>
<li><code>title</code> &#x63D0;&#x793A;&#x6587;&#x672C;&#xFF0C;&#x662F;&#x975E;&#x5FC5;&#x987B;&#x7684;</li>
<li><code>ctrl+shift+s:</code> &#x53E6;&#x5B58;&#x4E3A;  &#x628A;&#x6587;&#x4EF6;&#x590D;&#x5236;&#x5E76;&#x53E6;&#x5B58;&#x4E3A;</li>
</ul>
<p>&#x8D85;&#x94FE;&#x63A5;&#x4F18;&#x5316;&#xFF1A; <code>&lt;base target=&#x201D;_blank&#x201D;&gt;</code> </p>
<ul>
<li>&#x951A;&#x70B9;&#xFF1A;   <ul>
<li>&#x7B2C;&#x4E00;&#x6B65;&#xFF1A;&#x7ED9;&#x6807;&#x7B7E;&#x52A0;id</li>
<li>&#x7B2C;&#x4E8C;&#x90E8;&#xFF1A;herf&#x5199;&#x4E0A;#+id&#x540D; <code>&lt;a href=&quot;#xd&quot;&gt;&#x56DE;&#x5230;&#x9876;&#x90E8;&lt;/a&gt;</code></li>
</ul>
</li>
<li>&#x538B;&#x7F29;&#x5305;&#xFF1A;<code>&lt;a href=&quot;&#x538B;&#x7F29;&#x5305;.rar&quot;&gt;&#x538B;&#x7F29;&#x6587;&#x4EF6;&#x4E0B;&#x8F7D;&lt;/a&gt;</code><ul>
<li>&#x7A7A;&#x8FDE;&#x63A5;&#xFF1A;<code>&lt;a href=&quot;#&quot;&gt;&#x6B64;&#x5904;&#x6709;&#x8FDE;&#x63A5;&lt;/a&gt;</code></li>
</ul>
</li>
</ul>
<h3 id="&#x7279;&#x6B8A;&#x5B57;&#x7B26;&#xFF1A;&#x6BB5;&#x843D;&#x6807;&#x7B7E;&#x7684;&#x5199;&#x6CD5;"><a href="#&#x7279;&#x6B8A;&#x5B57;&#x7B26;&#xFF1A;&#x6BB5;&#x843D;&#x6807;&#x7B7E;&#x7684;&#x5199;&#x6CD5;" class="headerlink" title="&#x7279;&#x6B8A;&#x5B57;&#x7B26;&#xFF1A;&#x6BB5;&#x843D;&#x6807;&#x7B7E;&#x7684;&#x5199;&#x6CD5;"></a>&#x7279;&#x6B8A;&#x5B57;&#x7B26;&#xFF1A;&#x6BB5;&#x843D;&#x6807;&#x7B7E;&#x7684;&#x5199;&#x6CD5;</h3><h3 id="&#x5217;&#x8868;&#x6807;&#x7B7E;"><a href="#&#x5217;&#x8868;&#x6807;&#x7B7E;" class="headerlink" title="&#x5217;&#x8868;&#x6807;&#x7B7E;"></a>&#x5217;&#x8868;&#x6807;&#x7B7E;</h3><ul>
<li>&#x65E0;&#x5E8F;&#x5217;&#x8868; <code>&lt;ul type=&quot;square&quot;&gt;&lt;/ul&gt;</code><ul>
<li>square &#x5B9E;&#x5FC3;&#x65B9;&#x5757; </li>
<li>dick &#x9ED8;&#x8BA4;&#x5B9E;&#x5FC3;&#x5C0F;&#x5706;&#x5708;  </li>
<li>circle &#x7A7A;&#x5FC3;&#x5C0F;&#x5706;&#x5708;</li>
</ul>
</li>
</ul>
<p>&#x6CE8;&#x610F;&#xFF1A;ul&#x6807;&#x7B7E;&#x91CC;&#x9762;&#x53EA;&#x80FD;&#x653E;li&#x6807;&#x7B7E;&#xFF0C;li&#x91CC;&#x9762;&#x53EF;&#x4EE5;&#x653E;&#x4EFB;&#x4F55;&#x6807;&#x7B7E;</p>
<ul>
<li>&#x6709;&#x5E8F;&#x5217;&#x8868;</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div></pre></td><td class="code"><pre><div class="line">&lt;ol&gt;</div><div class="line">  &lt;li&gt;&#x6253;&#x5F00;&#x51B0;&#x7BB1;&#x95E8;&lt;/li&gt;</div><div class="line">  &lt;li&gt;&#x628A;&#x5927;&#x8C61;&#x88C5;&#x5728;&#x51B0;&#x7BB1;&#x91CC;&lt;/li&gt;</div><div class="line">  &lt;li&gt;&#x5173;&#x4E0A;&#x51B0;&#x7BB1;&#x95E8;&lt;/li&gt;</div><div class="line">&lt;/ol&gt;</div><div class="line">&lt;ol type=&quot;A&quot;&gt;&lt;/ol&gt;</div><div class="line">&lt;ol type=&quot;1&quot; start=&quot;4&quot;&gt;&lt;/ol&gt;</div></pre></td></tr></table></figure>
<p>type &#x7684;&#x53D6;&#x503C;&#x53EF;&#x4EE5;&#x662F;1&#xFF0C;a&#xFF0C;A&#xFF0C;i&#xFF0C;I</p>
<p>start &#x662F;&#x5F00;&#x59CB;&#x7684;&#x5E8F;&#x53F7;</p>
<ul>
<li>&#x81EA;&#x5B9A;&#x4E49;&#x5217;&#x8868;</li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">&lt;dl&gt;</div><div class="line">  &lt;dt&gt;&#x5317;&#x4EAC;&lt;/dt&gt;  &lt;!--&#x5C0F;&#x6807;&#x9898;--&gt;</div><div class="line">  &lt;dd&gt;&#x660C;&#x5E73;&#x533A;&lt;/dd&gt;  &lt;!&#x2014;&#x6807;&#x9898;&#x7684;&#x89E3;&#x91CA;--&gt;</div><div class="line">&lt;/dl&gt;</div></pre></td></tr></table></figure>
<h3 id="&#x5176;&#x4ED6;&#x6807;&#x7B7E;"><a href="#&#x5176;&#x4ED6;&#x6807;&#x7B7E;" class="headerlink" title="&#x5176;&#x4ED6;&#x6807;&#x7B7E;"></a>&#x5176;&#x4ED6;&#x6807;&#x7B7E;</h3><ul>
<li>&#x97F3;&#x4E50;&#x6807;&#x7B7E; embed &#x80CC;&#x666F;&#x97F3;&#x4E50; <code>&lt;embed src=&quot;BIGBANG - BAD BOY (Live).mp3&quot; hidden=&quot;false&quot; /&gt;</code><ul>
<li>hidden = &#x201C;ture&#x201D; &#x5F71;&#x85CF;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;false&#xFF0C;&#x64AD;&#x653E;&#x5668;</li>
</ul>
</li>
<li>&#x6EDA;&#x52A8;&#x6807;&#x7B7E; <code>&lt;marquee behavior=&quot;scroll&quot; direction=&quot;right&quot; width=&quot;500px&quot; height=&quot;100px&quot; bgcolor=&quot;blue&quot;&gt;&#x6211;&#x6765;&#x4E5F;&lt;/marquee&gt;</code></li>
</ul>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        
  <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
    <div>感谢您的支持！</div>
    <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
      <span>打 赏</span>
    </button>
    <div id="QR" style="display: none;">
      
        <div id="wechat" style="display: inline-block">
          <img id="wechat_qr" src="http://ofy7k3v4s.bkt.clouddn.com/wcpayCode.jpg" alt="Hongqin Ma WeChat Pay"/>
          <p>微信打赏</p>
        </div>
      
      
        <div id="alipay" style="display: inline-block">
          <img id="alipay_qr" src="http://ofy7k3v4s.bkt.clouddn.com/apayCode.jpg" alt="Hongqin Ma Alipay"/>
          <p>支付宝打赏</p>
        </div>
      
    </div>
  </div>


      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/HTML/" rel="tag">#HTML</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
          </div>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2013/09/05/HTML表格、表单、标签语义化/" rel="prev" title="HTML表格、表单、标签语义化">
                HTML表格、表单、标签语义化 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
        <div class="ds-share flat" data-thread-key="2013/09/02/初识HTML/"
     data-title="初识HTML"
     data-content=""
     data-url="https://hongqinma.github.io/2013/09/02/初识HTML/">
  <div class="ds-share-inline">
    <ul  class="ds-share-icons-16">

      <li data-toggle="ds-share-icons-more"><a class="ds-more" href="javascript:void(0);">分享到：</a></li>
      <li><a class="ds-weibo" href="javascript:void(0);" data-service="weibo">微博</a></li>
      <li><a class="ds-qzone" href="javascript:void(0);" data-service="qzone">QQ空间</a></li>
      <li><a class="ds-qqt" href="javascript:void(0);" data-service="qqt">腾讯微博</a></li>
      <li><a class="ds-wechat" href="javascript:void(0);" data-service="wechat">微信</a></li>

    </ul>
    <div class="ds-share-icons-more">
    </div>
  </div>
</div>
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div class="ds-thread" data-thread-key="2013/09/02/初识HTML/"
           data-title="初识HTML" data-url="https://hongqinma.github.io/2013/09/02/初识HTML/">
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            Table of Contents
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            Overview
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel ">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="//schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/photo.jpg"
               alt="Hongqin Ma" />
          <p class="site-author-name" itemprop="name">Hongqin Ma</p>
          <p class="site-description motion-element" itemprop="description">Spell at all costs， to rush you in the future. </p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">68</span>
              <span class="site-state-item-name">posts</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">16</span>
                <span class="site-state-item-name">categories</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">57</span>
                <span class="site-state-item-name">tags</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/HongqinMa" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://twitter.com/HongqinMa" target="_blank" title="Twitter">
                  
                    <i class="fa fa-fw fa-twitter"></i>
                  
                  Twitter
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://www.facebook.com/profile.php?id=100006581058735" target="_blank" title="Facebook">
                  
                    <i class="fa fa-fw fa-facebook"></i>
                  
                  Facebook
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://www.zhihu.com/people/HirakuMa" target="_blank" title="知乎">
                  
                    <i class="fa fa-fw fa-share-alt"></i>
                  
                  知乎
                </a>
              </span>
            
          
        </div>

        
        

        
        
          <div class="links-of-blogroll motion-element links-of-blogroll-inline">
            <div class="links-of-blogroll-title">
              <i class="fa  fa-fw fa-globe"></i>
              Links
            </div>
            <ul class="links-of-blogroll-list">
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/rubylouvre/" title="司徒正美" target="_blank">司徒正美</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/sanshi/" title="三生石上" target="_blank">三生石上</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/TomXu/" title="汤姆大叔" target="_blank">汤姆大叔</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://gold.xitu.io/" title="掘金" target="_blank">掘金</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://segmentfault.com/" title="segmentfault" target="_blank">segmentfault</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.jianshu.com/users/1cbb94e5ed4d/latest_articles" title="简书" target="_blank">简书</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://home.cnblogs.com/" title="博客园" target="_blank">博客园</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://www.awesomes.cn/" title="Awesomes" target="_blank">Awesomes</a>
                </li>
              
            </ul>
          </div>
        

      </section>

      
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">
            
              
            
            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#Sublime常用快捷键"><span class="nav-number">1.</span> <span class="nav-text">Sublime常用快捷键</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Web标准："><span class="nav-number">2.</span> <span class="nav-text">Web标准：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#浏览器简介"><span class="nav-number">3.</span> <span class="nav-text">浏览器简介</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#浏览器和服务器的那点事"><span class="nav-number">3.1.</span> <span class="nav-text">浏览器和服务器的那点事</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#HTML-结构"><span class="nav-number">4.</span> <span class="nav-text">HTML 结构</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#HTML-标签的分类"><span class="nav-number">4.1.</span> <span class="nav-text">HTML 标签的分类</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#HTML-关系"><span class="nav-number">4.2.</span> <span class="nav-text">HTML 关系</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#开发工具"><span class="nav-number">4.3.</span> <span class="nav-text">开发工具</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#Sublime-常用的快捷键"><span class="nav-number">4.3.1.</span> <span class="nav-text">Sublime 常用的快捷键</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#HTML标签"><span class="nav-number">5.</span> <span class="nav-text">HTML标签</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#单标签"><span class="nav-number">5.1.</span> <span class="nav-text">单标签</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#双标签"><span class="nav-number">5.2.</span> <span class="nav-text">双标签</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#图片标签-lt-img-src-quot-Legolas-jpg-quot-alt-quot-我的男神-quot-title-quot-legolas-quot-width-quot-500-quot-gt"><span class="nav-number">5.3.</span> <span class="nav-text">图片标签 <img src="Legolas.jpg" alt="我的男神" title="legolas" width="500" /></span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#超链接标签"><span class="nav-number">5.4.</span> <span class="nav-text">超链接标签</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#特殊字符：段落标签的写法"><span class="nav-number">5.5.</span> <span class="nav-text">特殊字符：段落标签的写法</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#列表标签"><span class="nav-number">5.6.</span> <span class="nav-text">列表标签</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#其他标签"><span class="nav-number">5.7.</span> <span class="nav-text">其他标签</span></a></li></ol></li></ol></div>
            
          </div>
        </section>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2016</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Hongqin Ma</span>
</div>

<div class="powered-by">
  Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
</div>

<div class="theme-info">
  Theme -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Muse
  </a>
</div>

<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<span id="busuanzi_container_site_pv">
    &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Page Views: <span id="busuanzi_value_site_pv"></span> 
</span>

        

<div class="busuanzi-count">

  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv"><i class="fa fa-user"></i><span class="busuanzi-value" id="busuanzi_value_site_uv"></span></span>
  

  
    <span class="site-pv"><i class="fa fa-eye"></i><span class="busuanzi-value" id="busuanzi_value_site_pv"></span></span>
  
  
</div>



        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.0.2"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.0.2"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.0.2"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.0.2"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.0.2"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"Hiraku"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
    <script src="/lib/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
    <script src="/js/src/hook-duoshuo.js"></script>
  






  
  

  

  

  
  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
  <script>AV.initialize("PPmoIQxeu8Sd21h6Tl9TthNx-gzGzoHsz", "rTvbY2H7DvWzRipiBwn72RQ4");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            counter.save(null, {
              success: function(counter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(counter.get('time'));
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            var newcounter = new Counter();
            /* Set ACL */
            var acl = new AV.ACL();
            acl.setPublicReadAccess(true);
            acl.setPublicWriteAccess(true);
            newcounter.setACL(acl);
            /* End Set ACL */
            newcounter.set("title", title);
            newcounter.set("url", url);
            newcounter.set("time", 1);
            newcounter.save(null, {
              success: function(newcounter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
              },
              error: function(newcounter, error) {
                console.log('Failed to create');
              }
            });
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>



  

  

  
  
  <!-- custom analytics part create by xiamo -->
<script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
<script>AV.initialize("PPmoIQxeu8Sd21h6Tl9TthNx-gzGzoHsz", "rTvbY2H7DvWzRipiBwn72RQ4");</script>
<script>
function showTime(Counter) {
  var query = new AV.Query(Counter);
  $(".leancloud_visitors").each(function() {
    var url = $(this).attr("id").trim();
    query.equalTo("url", url);
    query.find({
      success: function(results) {
        if (results.length == 0) {
          var content = '0 ' + $(document.getElementById(url)).text();
          $(document.getElementById(url)).text(content);
          return;
        }
        for (var i = 0; i < results.length; i++) {
          var object = results[i];
          var content = object.get('time') + ' ' + $(document.getElementById(url)).text();
          $(document.getElementById(url)).text(content);
        }
      },
      error: function(object, error) {
        console.log("Error: " + error.code + " " + error.message);
      }
    });

  });
}

function addCount(Counter) {
  var Counter = AV.Object.extend("Counter");
  url = $(".leancloud_visitors").attr('id').trim();
  title = $(".leancloud_visitors").attr('data-flag-title').trim();
  var query = new AV.Query(Counter);
  query.equalTo("url", url);
  query.find({
    success: function(results) {
      if (results.length > 0) {
        var counter = results[0];
        counter.fetchWhenSave(true);
        counter.increment("time");
        counter.save(null, {
          success: function(counter) {
            var content =  counter.get('time') + ' ' + $(document.getElementById(url)).text();
            $(document.getElementById(url)).text(content);
          },
          error: function(counter, error) {
            console.log('Failed to save Visitor num, with error message: ' + error.message);
          }
        });
      } else {
        var newcounter = new Counter();
        newcounter.set("title", title);
        newcounter.set("url", url);
        newcounter.set("time", 1);
        newcounter.save(null, {
          success: function(newcounter) {
              console.log("newcounter.get('time')="+newcounter.get('time'));
            var content = newcounter.get('time') + ' ' + $(document.getElementById(url)).text();
            $(document.getElementById(url)).text(content);
          },
          error: function(newcounter, error) {
            console.log('Failed to create');
          }
        });
      }
    },
    error: function(error) {
      console.log('Error:' + error.code + " " + error.message);
    }
  });
}
$(function() {
  var Counter = AV.Object.extend("Counter");
  if ($('.leancloud_visitors').length == 1) {
    addCount(Counter);
  } else if ($('.post-title-link').length > 1) {
    showTime(Counter);
  }
}); 
</script>

  
</body>
</html>
